package top.likeqc.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 答案
 * </p>
 *
 * @author likeqc
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Answer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 问题id
     */
    private Long questionId;

    /**
     * 答题人（学生）id
     */
    private Long userId;

    /**
     * 答案/分值
     */
    private Integer value;


}
